﻿using MediatR;
using S.PurchaseAndSales.Domain.Dto;
using S.PurchaseAndSales.Domain.Model;
using S.PurchaseAndSales.Read.Api.Dto;

namespace S.PurchaseAndSales.Read.Api.Application.Command.PurchaseFormCommand
{
    /// <summary>
    /// 采购表分页显示
    /// </summary>
    public class PurchaseFormGetPagerCommand:IRequest<Pager<GetPurchaseFormDto>>
    {
        /// <summary>
        /// 当前页
        /// </summary>
        public int PageIndex { get; set; }

        /// <summary>
        /// 页容量
        /// </summary>
        public int PageSize { get; set; }

        /// <summary>
        /// 采购人
        /// </summary>
        public string? CreateBy { get; set; }

        /// <summary>
        /// 采购时间
        /// </summary>
        public string? CreateDate { get; set; }

        /// <summary>
        /// 摘要
        /// </summary>
        public int SummaryEnum { get; set; }

        /// <summary>
        /// 仓库
        /// </summary>
        public string? Warehouse { get; set; }

        /// <summary>
        /// 栋舍
        /// </summary>
        public int BuildingId { get; set; }
    }
}
